home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nn.zip / S-SGI4D.H < prev    next >
C/C++ Source or Header  |  1989-07-11  |  3KB  |  157 lines

  1. /*
  2.  *    This file is for a Silicon Graphics 4D series machines
  3.  *  Running IRIX 3.1 or 3.2.  (HAVE_JOBCTRL should only be
  4.  *    defined if you have 3.2)
  5.  */
  6.  
  7.  
  8. /*
  9.  *    Include header files containing the following definitions:
  10.  *
  11.  *         off_t, time_t, struct stat
  12.  */
  13.  
  14. #include <sys/types.h>
  15. #include <sys/stat.h>
  16.  
  17. /*
  18.  *    Define if your system has system V like ioctls
  19.  */
  20.  
  21. #define    HAVE_TERMIO            /* */
  22.  
  23. /*
  24.  *    Define to use terminfo database.
  25.  *    Otherwise, termcap is used
  26.  */
  27.  
  28. #define    USE_TERMINFO            /* */
  29.  
  30. /*
  31.  *    Specify the library containing the termcap/terminfo access routines.
  32.  *    Notice:  nn does not use curses.
  33.  *    Notice:  You must also specify whether termcap or terminfo is
  34.  *         used when you edit config.h (see below).
  35.  */
  36.  
  37. #define    TERMLIB -lcurses
  38.  
  39. /*
  40.  *    Define HAVE_STRCHR if strchr() and strrchr() are available
  41.  */
  42.  
  43. #define HAVE_STRCHR            /* */
  44.  
  45. /*
  46.  *    Define if a signal handler has type void (see signal.h)
  47.  */
  48.  
  49. #define    SIGNAL_HANDLERS_ARE_VOID    /* */
  50.  
  51. /*
  52.  *    Define if signals must be set again after they are caught
  53.  */
  54.  
  55. #define    RESET_SIGNAL_WHEN_CAUGHT    /* */
  56.  
  57. /*
  58.  *    Define MICRO_ALARM to timeout in 0.1 seconds if possible
  59.  */
  60.  
  61. #define MICRO_ALARM()    alarm(1)    /* System V */
  62.  
  63. /*
  64.  *    Define if your system has BSD like job control (SIGTSTP works)
  65.  */
  66.  
  67. #define HAVE_JOBCONTROL            /* */
  68.  
  69. /*
  70.  *    Define if your system has a 4.3BSD like syslog library.
  71.  */
  72.  
  73. #define HAVE_SYSLOG
  74.  
  75. /*
  76.  *    Define if your system provides the "directory(3X)" access routines
  77.  *
  78.  *    If true, include the header file(s) required by the package below
  79.  *    (remember that <sys/types.h> or equivalent is included above)
  80.  *    Also typedef Direntry to the proper struct type.
  81.  */
  82.  
  83. #define    HAVE_DIRECTORY            /* */
  84.  
  85. #include <dirent.h>            /* System V */
  86.  
  87. typedef struct dirent Direntry;        /* System V */
  88.  
  89. /*
  90.  *    Define if your system has a mkdir() library routine
  91.  */
  92.  
  93. #define    HAVE_MKDIR            /* */
  94.  
  95. /*
  96.  *    Define HAVE_GETHOSTNAME if your system provides a BSD like 
  97.  *    gethostname routine.
  98.  *    Otherwise, define HAVE_UNAME if uname() is avaiable.
  99.  *    As a final resort, define HOSTNAME to the name of your system.
  100.  */
  101.  
  102. #define    HAVE_GETHOSTNAME            /* System V */
  103.  
  104. /*
  105.  *    Define DETATCH_TERMINAL to be a command sequence which 
  106.  *    will detatch a process from the control terminal
  107.  *    Also include files needed to perform this HERE.
  108.  *    If not possible, just define it (empty)
  109.  */
  110.  
  111. #define    DETATCH_TERMINAL setpgrp();    /* System V */
  112.  
  113. /* 
  114.  *    Specify where the Bourne Shell is.
  115.  */
  116.  
  117. #define SHELL        "/bin/sh"
  118.  
  119. /*
  120.  *    Specify the default mailer to be invoked by nnmail
  121.  */
  122.  
  123. #define    MAILX        "/usr/bsd/Mail"
  124.  
  125. /*
  126.  *    Specify the default pager & options.
  127.  */
  128.  
  129. #define    PAGER        "more"
  130.  
  131. /*
  132.  *    Specify the default print command and options.
  133.  */
  134.  
  135. #define    PRINTER        "lp -s"
  136.  
  137. /*
  138.  *    Define standard compiler flags here:
  139.  */
  140.  
  141. #define COMPILER_FLAGS -O -I/usr/include/bsd
  142.  
  143.  
  144. /*
  145.  *    Define the maximum length of any pathname that may occur
  146.  */
  147.  
  148. #define    FILENAME     1024    /* really should be from limits.h */
  149.  
  150. /*
  151.  *    If your system requires other libraries when linking nn
  152.  *    specify them here:  (use shared C library for reduced
  153.  *    size and portability across releases).
  154.  */
  155.  
  156. #define EXTRA_LIB -lbsd -lc_s
  157.